package com.zhang.mapper;

import com.zhang.entity.OperationLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * User: 张
 * Date: 2024-11-07
 * Time: 9:11
 * Description:
 */
@Mapper
public interface OperationLogMapper {
    void insertLog(OperationLog operationLog);
    List<OperationLog> getAllLog(@Param("businessName")String businessName,
                                 @Param("time") Date time);

}
